package vip.meeet;

import org.springframework.context.annotation.AnnotationConfigApplicationContext;
import vip.meeet.aop.before.BeforeLogic;
import vip.meeet.config.ScanConfig;

public class AnnotationStart {

    public static void main(String[] args) {
        AnnotationConfigApplicationContext context = new AnnotationConfigApplicationContext(ScanConfig.class);
//        ApplicationHolder.printBeanNames();
        context.getBean(BeforeLogic.class).hello();
        context.close();
    }
}
